<extend name="Public/base"/>
<block name="body">
    <form action="" method="post">
        <table class="table table-bordered">
            <tr>
                <td>标题</td>
                <td>
                    <input type="text" name="title" class="form-control"/>
                </td>
            </tr>
            <tr>
                <td>描述</td>
                <td>
                    <textarea class="form-control" name="description"></textarea>
                </td>
            </tr>
            <tr>
            <tr>
                <td>语言</td>
                <td>
                    <select name="lang">
                        <option ></option>
                        <option value="1">Swift</option>
                        <option value="2">Javascript</option>
                        <option value="3">HTML</option>
                        <option value="4">CSS</option>
                        <option value="5">PHP</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>难度</td>
                <td>
                    <select name="lev">
                        <option ></option>
                        <option value="1">初级</option>
                        <option value="2">中级</option>
                        <option value="3">高级</option>
                    </select>
                </td>
            </tr>
                <td colspan="2" class="text-center">
                    <input type="submit" name="提交" class="btn btn-primary" >
                    <input type="button" name="back" value="返回" class="btn btn-primary" onClick=history.back()>
                </td>
               <!-- <a href="#" onClick=history.go(-2)>返回</a>-->
            </tr>
        </table>
    </form>
</block>